﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using SmartSpace.Core;

namespace SmartSpace.OA
{
    [Table("oa_worklog")]
    public class WorkLog : IKeyEntity
    {
        [Key]
        public Guid Id { get; set; }
        public string Account { get; set; }
        /// <summary>
        /// 日志时间，到毫秒
        /// </summary>
        public DateTime LogTime { get; set; }
        /// <summary>
        /// 日志日期，到日
        /// </summary>
        public DateTime LogDate { get; set; }
        public string Content { get; set; }


        public void Validation()
        {
            throw new NotImplementedException();
        }
    }
}
